package com.mk.mapper;

import com.mk.base.mapper.BaseMapper;
import com.mk.model.entity.Pac;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 2:19 PM 3/15/18
 */
@Repository
@Mapper
public interface PacMapper extends BaseMapper<Pac> {

    Pac findByTagNum(@Param("num") String num,@Param("isDeleted") Integer able);

    List<Pac> keySearch(@Param("key") String key,@Param("isDeleted") Integer able);
}
